<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title>食与家首届会员生日PARTY</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1  user-scalable=no" />
         <link rel="stylesheet" href="<?php echo Yii::app()->baseUrl?>/css/ui-box.css">
        <style>
        .abc1 {
        background-image: url('<?php echo Yii::app()->baseUrl?>/images/logo1.jpg');
        min-height: 3em;
        min-width: 8em;
        }
         .abc2 {
        background-image: url('<?php echo Yii::app()->baseUrl?>/images/logo2.jpg');
        min-height: 12em;
        width: 100%;
        }
         /* 兼容iphone5 */
       @media (device-height:568px) and (-webkit-min-device-pixel-ratio:2) {
             .abc2 {
                background-image: url('<?php echo Yii::app()->baseUrl?>/images/logo2.jpg');
                min-height: 9em;
                width: 100%;
              }
        }
        .btm {
        background-image: url('<?php echo Yii::app()->baseUrl?>/images/logo.jpg');
        min-height: 15em;
        width: 100%;
        }
        .ub-img1 {
        -webkit-background-size: cover;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        }
        
      
        body{
            -moz-user-select: none; /*火狐*/
            -webkit-user-select: none;  /*webkit浏览器*/
            -ms-user-select: none;   /*IE10*/
            -khtml-user-select: none; /*早期浏览器*/
            user-select: none;
         }
        </style>
        <script>
        function submit()
        {
//            var phone=document.getElementById("WxJoin_phone").value;
//            if(phone!=null && phone!=""){
//                 
//            }else{
//                //alert("请填写您的手机号")
//            }
           document.getElementById("wx-join-form").submit();    
        }
        </script>
    </head>
    <body class='all ub-img1' style="background-image:url(<?php echo Yii::app()->baseUrl?>/images/bc.jpg);">
        <?php $form=$this->beginWidget('CActiveForm', array(
                'id'=>'wx-join-form',
                'enableAjaxValidation'=>true,
                'enableClientValidation'=>true,
                'clientOptions'=>array(
                    'validateOnSubmit'=>true
                ),
            'htmlOptions'=>array('class'=>'ajax_form'),
        )); ?>
        
        <div >
            <div class="ub ub-pc">
            <div class="ub-img1 abc1" ></div>
            </div>
            <div class="ub ub-pc">
            <div class="ub-img1 abc2" ></div>
            </div>
            <div >
                <div style="margin-top: 1em;padding-left:1em;padding-right:1em;">
                <div><strong>活动介绍：</strong></div>
                <div>活动时间：7月4日  14:00--17:00 </div>
                <div>参与对象：食与家6、7月份生日的烟台会员</div>
                <div>活动地点：欣和企业---“爱生活食育体验馆”</div>
                <div>交通工具：爱生活VIP专车</div>
                <div>温馨小贴士：集合时间与地点、报名成功后、工作人员将与您详细沟通哦</div>
                </div>
             
                <div align="center"  style="margin-top: 1em;">
                          <?php echo $form->textField($model,'phone',array('type'=>'number','placeholder'=>'请输入您的手机号码','style'=>'height:2em')); ?>
                </div>
                <div align="center">
               <font color="red"><?php echo $form->error($model,'phone'); ?></font>
               </div>
               <div  align="center" style="margin-top:1em"><input type="submit" style="width:25%;height:2em;color:white;background-color:#fcb134;-webkit-appearance: none;" value="提交"></div>
              
            </div>
             <div style="margin-bottom:7em;text-align:center;">&nbsp;</div>
        </div>
       
           <?php $this->endWidget(); ?>
    </body>
</html>
